]> dgit.raspbian.org Git - gnome-shell.git/commit
extensions-app: Use new add_action_entries() override
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 6 Jul 2022 12:16:38 +0000 (14:16 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 1 Aug 2022 11:03:32 +0000 (13:03 +0200)
commita3dc9817f2bf49ccfab6888bccdeaee0ccdaf6b2
tree6b43c2bf6631b5e07a98d8774b08befe2b58337e
parent177175ca6ad29bf24adb15060d99f0a66fb4d70a
extensions-app: Use new add_action_entries() override

g_action_map_add_entries() is a C convenience API that isn't
introspectable, but gjs recently added a JS override for it.

Use it to save some boilerplate.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2371>
subprojects/extensions-app/js/main.js